package com.zl.spring.beanfactory;

import com.zl.spring.obj.Book;
import org.springframework.beans.factory.FactoryBean;

public class Mybean implements FactoryBean<Book> {
    @Override
    public Book getObject() throws Exception {
        Book book = new Book();

        return book;
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
